<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>GeorgeLib: GeorgeLib::vec3 Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GeorgeLib
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>GeorgeLib</b></li><li class="navelem"><a class="el" href="class_george_lib_1_1vec3.html">vec3</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="class_george_lib_1_1vec3-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">GeorgeLib::vec3 Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Holds 3 values and does vector maths.  
 <a href="class_george_lib_1_1vec3.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="vec3_8h_source.html">vec3.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afb07a77bfcca6d682ad1efa908f53621"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb07a77bfcca6d682ad1efa908f53621"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#afb07a77bfcca6d682ad1efa908f53621">vec3</a> (void)</td></tr>
<tr class="memdesc:afb07a77bfcca6d682ad1efa908f53621"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor : an empty vector, (0,0,0) <br/></td></tr>
<tr class="separator:afb07a77bfcca6d682ad1efa908f53621"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac878c389d1dedffc8918a2f52374f43d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac878c389d1dedffc8918a2f52374f43d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#ac878c389d1dedffc8918a2f52374f43d">vec3</a> (float X, float Y, float Z)</td></tr>
<tr class="memdesc:ac878c389d1dedffc8918a2f52374f43d"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor : from three values, (x,y,z) <br/></td></tr>
<tr class="separator:ac878c389d1dedffc8918a2f52374f43d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14fc815ae5ef378554c3ebb9f091300a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a14fc815ae5ef378554c3ebb9f091300a">vec3</a> (float a)</td></tr>
<tr class="memdesc:a14fc815ae5ef378554c3ebb9f091300a"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor : from one value, (a,a,a)  <a href="#a14fc815ae5ef378554c3ebb9f091300a">More...</a><br/></td></tr>
<tr class="separator:a14fc815ae5ef378554c3ebb9f091300a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a350a9f644b47580ec6c243a70f7e816c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a350a9f644b47580ec6c243a70f7e816c">vec3</a> (float *v)</td></tr>
<tr class="memdesc:a350a9f644b47580ec6c243a70f7e816c"><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor : from an array of float[3]  <a href="#a350a9f644b47580ec6c243a70f7e816c">More...</a><br/></td></tr>
<tr class="separator:a350a9f644b47580ec6c243a70f7e816c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19cb7b773731ba97430f894dcd28e1ed"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a19cb7b773731ba97430f894dcd28e1ed"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a19cb7b773731ba97430f894dcd28e1ed">vec3</a> (const <a class="el" href="class_george_lib_1_1vec3.html">vec3</a> &amp;v)</td></tr>
<tr class="memdesc:a19cb7b773731ba97430f894dcd28e1ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">copy constructor : from another vector <br/></td></tr>
<tr class="separator:a19cb7b773731ba97430f894dcd28e1ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14da4993bb5e503f3a97c1cc8c9f33ca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14da4993bb5e503f3a97c1cc8c9f33ca"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a14da4993bb5e503f3a97c1cc8c9f33ca">~vec3</a> (void)</td></tr>
<tr class="memdesc:a14da4993bb5e503f3a97c1cc8c9f33ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">destructor <br/></td></tr>
<tr class="separator:a14da4993bb5e503f3a97c1cc8c9f33ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6aabc7108f8748849247ccaa5a112df0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6aabc7108f8748849247ccaa5a112df0"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a6aabc7108f8748849247ccaa5a112df0">total</a> (void)</td></tr>
<tr class="memdesc:a6aabc7108f8748849247ccaa5a112df0"><td class="mdescLeft">&#160;</td><td class="mdescRight">addition of all the values of the vector <br/></td></tr>
<tr class="separator:a6aabc7108f8748849247ccaa5a112df0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfa02d27678126c12cf74e3bc8ac3058"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adfa02d27678126c12cf74e3bc8ac3058"></a>
<a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#adfa02d27678126c12cf74e3bc8ac3058">negated</a> (void)</td></tr>
<tr class="memdesc:adfa02d27678126c12cf74e3bc8ac3058"><td class="mdescLeft">&#160;</td><td class="mdescRight">negative of this vector <br/></td></tr>
<tr class="separator:adfa02d27678126c12cf74e3bc8ac3058"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac41e6550d0ae38b62c5b2f3f240a283d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#ac41e6550d0ae38b62c5b2f3f240a283d">asArray</a> (float *arr)</td></tr>
<tr class="memdesc:ac41e6550d0ae38b62c5b2f3f240a283d"><td class="mdescLeft">&#160;</td><td class="mdescRight">values of this vector to an array  <a href="#ac41e6550d0ae38b62c5b2f3f240a283d">More...</a><br/></td></tr>
<tr class="separator:ac41e6550d0ae38b62c5b2f3f240a283d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20a898b0d7c25529b10da1130997643e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20a898b0d7c25529b10da1130997643e"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a20a898b0d7c25529b10da1130997643e">magnitude</a> (void)</td></tr>
<tr class="memdesc:a20a898b0d7c25529b10da1130997643e"><td class="mdescLeft">&#160;</td><td class="mdescRight">magnitude of this vector <br/></td></tr>
<tr class="separator:a20a898b0d7c25529b10da1130997643e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54c43ad01f66012ccfb7dd0a2847c2b1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a54c43ad01f66012ccfb7dd0a2847c2b1"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a54c43ad01f66012ccfb7dd0a2847c2b1">magnitudeSqr</a> (void)</td></tr>
<tr class="memdesc:a54c43ad01f66012ccfb7dd0a2847c2b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">magnitude squared of this vector <br/></td></tr>
<tr class="separator:a54c43ad01f66012ccfb7dd0a2847c2b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9af226bff47e43e58b1f735b91408d9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad9af226bff47e43e58b1f735b91408d9"></a>
<a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#ad9af226bff47e43e58b1f735b91408d9">normal</a> (void)</td></tr>
<tr class="memdesc:ad9af226bff47e43e58b1f735b91408d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">unit vector of this vector <br/></td></tr>
<tr class="separator:ad9af226bff47e43e58b1f735b91408d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ae2940068d64bdc803dfdb1275f75f4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5ae2940068d64bdc803dfdb1275f75f4"></a>
<a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a5ae2940068d64bdc803dfdb1275f75f4">direction</a> (void)</td></tr>
<tr class="memdesc:a5ae2940068d64bdc803dfdb1275f75f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">angles between (1,1,1) and this vector on each axis in degrees <br/></td></tr>
<tr class="separator:a5ae2940068d64bdc803dfdb1275f75f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a597a9ed57656bf4ea2cb75f2b64af491"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a597a9ed57656bf4ea2cb75f2b64af491"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a597a9ed57656bf4ea2cb75f2b64af491">distancebetween</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:a597a9ed57656bf4ea2cb75f2b64af491"><td class="mdescLeft">&#160;</td><td class="mdescRight">distance between this vector and v <br/></td></tr>
<tr class="separator:a597a9ed57656bf4ea2cb75f2b64af491"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9125b7be62fc3af5ee54110d40f5014"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9125b7be62fc3af5ee54110d40f5014"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#ab9125b7be62fc3af5ee54110d40f5014">anglebetween</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:ab9125b7be62fc3af5ee54110d40f5014"><td class="mdescLeft">&#160;</td><td class="mdescRight">angle between this vector and v <br/></td></tr>
<tr class="separator:ab9125b7be62fc3af5ee54110d40f5014"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fbf0c7e7b615a0ba694dde4d752632f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3fbf0c7e7b615a0ba694dde4d752632f"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a3fbf0c7e7b615a0ba694dde4d752632f">dotproduct</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:a3fbf0c7e7b615a0ba694dde4d752632f"><td class="mdescLeft">&#160;</td><td class="mdescRight">dot product between this vector and v <br/></td></tr>
<tr class="separator:a3fbf0c7e7b615a0ba694dde4d752632f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe660e44ecddbf257bc91b50f4b60dc1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe660e44ecddbf257bc91b50f4b60dc1"></a>
<a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#abe660e44ecddbf257bc91b50f4b60dc1">crossproduct</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:abe660e44ecddbf257bc91b50f4b60dc1"><td class="mdescLeft">&#160;</td><td class="mdescRight">cross product between this vector and v <br/></td></tr>
<tr class="separator:abe660e44ecddbf257bc91b50f4b60dc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a983cf063c94fb5c4107dd6cac82c2c98"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a983cf063c94fb5c4107dd6cac82c2c98">rotateabout</a> (float angle, <a class="el" href="class_george_lib_1_1vec3.html">vec3</a> axis)</td></tr>
<tr class="memdesc:a983cf063c94fb5c4107dd6cac82c2c98"><td class="mdescLeft">&#160;</td><td class="mdescRight">rotate this vector about an arbitrary axis  <a href="#a983cf063c94fb5c4107dd6cac82c2c98">More...</a><br/></td></tr>
<tr class="separator:a983cf063c94fb5c4107dd6cac82c2c98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b291b6d14bfe00a5a8da57a2578b2d0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b291b6d14bfe00a5a8da57a2578b2d0"></a>
<a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a6b291b6d14bfe00a5a8da57a2578b2d0">operator+</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:a6b291b6d14bfe00a5a8da57a2578b2d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">add vector v to this vector <br/></td></tr>
<tr class="separator:a6b291b6d14bfe00a5a8da57a2578b2d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e9eb6bf7033fd79a46c3a646e976fe2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e9eb6bf7033fd79a46c3a646e976fe2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a0e9eb6bf7033fd79a46c3a646e976fe2">operator+=</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:a0e9eb6bf7033fd79a46c3a646e976fe2"><td class="mdescLeft">&#160;</td><td class="mdescRight">add vector v to this vector <br/></td></tr>
<tr class="separator:a0e9eb6bf7033fd79a46c3a646e976fe2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4ac58f7a3869fd7322dc6fc11f30e42"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad4ac58f7a3869fd7322dc6fc11f30e42"></a>
<a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#ad4ac58f7a3869fd7322dc6fc11f30e42">operator-</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:ad4ac58f7a3869fd7322dc6fc11f30e42"><td class="mdescLeft">&#160;</td><td class="mdescRight">subtract vector v from this vector <br/></td></tr>
<tr class="separator:ad4ac58f7a3869fd7322dc6fc11f30e42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac10632c2bc42b90c6e01098ee9b05729"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac10632c2bc42b90c6e01098ee9b05729"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#ac10632c2bc42b90c6e01098ee9b05729">operator-=</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:ac10632c2bc42b90c6e01098ee9b05729"><td class="mdescLeft">&#160;</td><td class="mdescRight">subtract vector v from this vector <br/></td></tr>
<tr class="separator:ac10632c2bc42b90c6e01098ee9b05729"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebef50a4b32e6d8199afc773c542c111"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aebef50a4b32e6d8199afc773c542c111"></a>
<a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#aebef50a4b32e6d8199afc773c542c111">operator*</a> (float f)</td></tr>
<tr class="memdesc:aebef50a4b32e6d8199afc773c542c111"><td class="mdescLeft">&#160;</td><td class="mdescRight">multiply the values in this vector by f <br/></td></tr>
<tr class="separator:aebef50a4b32e6d8199afc773c542c111"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f6f2169e76b8620edc9e6798aaa9a9e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f6f2169e76b8620edc9e6798aaa9a9e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a9f6f2169e76b8620edc9e6798aaa9a9e">operator*=</a> (float f)</td></tr>
<tr class="memdesc:a9f6f2169e76b8620edc9e6798aaa9a9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">multiply the values in this vector by f <br/></td></tr>
<tr class="separator:a9f6f2169e76b8620edc9e6798aaa9a9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a4bbea57f581ac558d1f34dcaa76530"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a4bbea57f581ac558d1f34dcaa76530"></a>
<a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a4a4bbea57f581ac558d1f34dcaa76530">operator/</a> (float f)</td></tr>
<tr class="memdesc:a4a4bbea57f581ac558d1f34dcaa76530"><td class="mdescLeft">&#160;</td><td class="mdescRight">divide the values in this vector by f <br/></td></tr>
<tr class="separator:a4a4bbea57f581ac558d1f34dcaa76530"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a540fab1cbcbd3f4af1d7bea141d2284f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a540fab1cbcbd3f4af1d7bea141d2284f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a540fab1cbcbd3f4af1d7bea141d2284f">operator/=</a> (float f)</td></tr>
<tr class="memdesc:a540fab1cbcbd3f4af1d7bea141d2284f"><td class="mdescLeft">&#160;</td><td class="mdescRight">divide the values in this vector by f <br/></td></tr>
<tr class="separator:a540fab1cbcbd3f4af1d7bea141d2284f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41f967631ae93af8022beccdd09d2b26"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a41f967631ae93af8022beccdd09d2b26"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a41f967631ae93af8022beccdd09d2b26">operator*</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:a41f967631ae93af8022beccdd09d2b26"><td class="mdescLeft">&#160;</td><td class="mdescRight">perform a dot product between this vector and vector v <br/></td></tr>
<tr class="separator:a41f967631ae93af8022beccdd09d2b26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a617a4119fed28ed8ec92c812c9691061"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a617a4119fed28ed8ec92c812c9691061"></a>
<a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a617a4119fed28ed8ec92c812c9691061">operator^</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:a617a4119fed28ed8ec92c812c9691061"><td class="mdescLeft">&#160;</td><td class="mdescRight">perform a cross product between this vector and vector v <br/></td></tr>
<tr class="separator:a617a4119fed28ed8ec92c812c9691061"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a466c9312312bc6d70e8443dc243a25de"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a466c9312312bc6d70e8443dc243a25de"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a466c9312312bc6d70e8443dc243a25de">operator==</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:a466c9312312bc6d70e8443dc243a25de"><td class="mdescLeft">&#160;</td><td class="mdescRight">checks if vector is equal to another vector <br/></td></tr>
<tr class="separator:a466c9312312bc6d70e8443dc243a25de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a399ef14c294728e5db8f18cec2a93da3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a399ef14c294728e5db8f18cec2a93da3"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a399ef14c294728e5db8f18cec2a93da3">operator!=</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:a399ef14c294728e5db8f18cec2a93da3"><td class="mdescLeft">&#160;</td><td class="mdescRight">checks if vector is not equal to another vector <br/></td></tr>
<tr class="separator:a399ef14c294728e5db8f18cec2a93da3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a173d0e7bf32ffe5efa24ad4976941abe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a173d0e7bf32ffe5efa24ad4976941abe"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a173d0e7bf32ffe5efa24ad4976941abe">operator&gt;</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:a173d0e7bf32ffe5efa24ad4976941abe"><td class="mdescLeft">&#160;</td><td class="mdescRight">checks if vector magnitude is more than another vector's magnitude <br/></td></tr>
<tr class="separator:a173d0e7bf32ffe5efa24ad4976941abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f15965f6f7bf809c090b4139c23d2b8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f15965f6f7bf809c090b4139c23d2b8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a2f15965f6f7bf809c090b4139c23d2b8">operator&gt;=</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:a2f15965f6f7bf809c090b4139c23d2b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">checks if vector magnitude is more than or equal to another vector's magnitude <br/></td></tr>
<tr class="separator:a2f15965f6f7bf809c090b4139c23d2b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad08c1140e712f6f350f1aece3db45310"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad08c1140e712f6f350f1aece3db45310"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#ad08c1140e712f6f350f1aece3db45310">operator&lt;</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:ad08c1140e712f6f350f1aece3db45310"><td class="mdescLeft">&#160;</td><td class="mdescRight">checks if vector magnitude is less than another vector's magnitude <br/></td></tr>
<tr class="separator:ad08c1140e712f6f350f1aece3db45310"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a932558cd586593f1e4798d2a3c85f501"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a932558cd586593f1e4798d2a3c85f501"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a932558cd586593f1e4798d2a3c85f501">operator&lt;=</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:a932558cd586593f1e4798d2a3c85f501"><td class="mdescLeft">&#160;</td><td class="mdescRight">checks if vector magnitude is less than or equal to another vector's magnitude <br/></td></tr>
<tr class="separator:a932558cd586593f1e4798d2a3c85f501"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cb3a2b26768e5ac9ff1f1073940348b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0cb3a2b26768e5ac9ff1f1073940348b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>xyzMoreThan</b> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="separator:a0cb3a2b26768e5ac9ff1f1073940348b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f381f7a0edb3060fa45b45de40ad023"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7f381f7a0edb3060fa45b45de40ad023"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>xyzMoreEqThan</b> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="separator:a7f381f7a0edb3060fa45b45de40ad023"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ffa7c25f1705cea45343603db2f91aa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ffa7c25f1705cea45343603db2f91aa"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>xyzLessThan</b> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="separator:a0ffa7c25f1705cea45343603db2f91aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9a87432e219ceb1f28ef411aff6e97d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9a87432e219ceb1f28ef411aff6e97d"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>xyzLessEqThan</b> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="separator:ab9a87432e219ceb1f28ef411aff6e97d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c32b5670f9a76104e03beffbfd2faf9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c32b5670f9a76104e03beffbfd2faf9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a7c32b5670f9a76104e03beffbfd2faf9">operator()</a> (float X, float Y, float Z)</td></tr>
<tr class="memdesc:a7c32b5670f9a76104e03beffbfd2faf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">change the values of this vector with 3 values using operator() <br/></td></tr>
<tr class="separator:a7c32b5670f9a76104e03beffbfd2faf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4150cd448228b2d3bffba7211f9630c0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4150cd448228b2d3bffba7211f9630c0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a4150cd448228b2d3bffba7211f9630c0">operator()</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:a4150cd448228b2d3bffba7211f9630c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">change the values of this vector with another vector using operator() <br/></td></tr>
<tr class="separator:a4150cd448228b2d3bffba7211f9630c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84e9e343fc2552c448bc9e08a7fcc81b"><td class="memItemLeft" align="right" valign="top">float &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a84e9e343fc2552c448bc9e08a7fcc81b">operator[]</a> (int a)</td></tr>
<tr class="memdesc:a84e9e343fc2552c448bc9e08a7fcc81b"><td class="mdescLeft">&#160;</td><td class="mdescRight">get values using [] operator  <a href="#a84e9e343fc2552c448bc9e08a7fcc81b">More...</a><br/></td></tr>
<tr class="separator:a84e9e343fc2552c448bc9e08a7fcc81b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:af4dce7426d8830ec69e01ecc41e48774"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af4dce7426d8830ec69e01ecc41e48774"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#af4dce7426d8830ec69e01ecc41e48774">x</a></td></tr>
<tr class="memdesc:af4dce7426d8830ec69e01ecc41e48774"><td class="mdescLeft">&#160;</td><td class="mdescRight">value on the x-axis <br/></td></tr>
<tr class="separator:af4dce7426d8830ec69e01ecc41e48774"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a374c680f41a15010696c413d7185c43c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a374c680f41a15010696c413d7185c43c"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a374c680f41a15010696c413d7185c43c">y</a></td></tr>
<tr class="memdesc:a374c680f41a15010696c413d7185c43c"><td class="mdescLeft">&#160;</td><td class="mdescRight">value on the y-axis <br/></td></tr>
<tr class="separator:a374c680f41a15010696c413d7185c43c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab94c4bf285c81f70ce8c4e72df2c97b7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab94c4bf285c81f70ce8c4e72df2c97b7"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#ab94c4bf285c81f70ce8c4e72df2c97b7">z</a></td></tr>
<tr class="memdesc:ab94c4bf285c81f70ce8c4e72df2c97b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">value on the z-axis <br/></td></tr>
<tr class="separator:ab94c4bf285c81f70ce8c4e72df2c97b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a636380de5ea80677c30ba60ee739b60a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a636380de5ea80677c30ba60ee739b60a"></a>
<a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a636380de5ea80677c30ba60ee739b60a">operator-</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:a636380de5ea80677c30ba60ee739b60a"><td class="mdescLeft">&#160;</td><td class="mdescRight">negative value of vector <br/></td></tr>
<tr class="separator:a636380de5ea80677c30ba60ee739b60a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9785ea3eade9968a62d5e9836f720617"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9785ea3eade9968a62d5e9836f720617"></a>
ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#a9785ea3eade9968a62d5e9836f720617">operator&lt;&lt;</a> (ostream &amp;os, <a class="el" href="class_george_lib_1_1vec3.html">vec3</a> &amp;v)</td></tr>
<tr class="memdesc:a9785ea3eade9968a62d5e9836f720617"><td class="mdescLeft">&#160;</td><td class="mdescRight">output vector contents to console <br/></td></tr>
<tr class="separator:a9785ea3eade9968a62d5e9836f720617"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb2303ce319e24ac1c480cb3bc195383"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_george_lib_1_1vec3.html#adb2303ce319e24ac1c480cb3bc195383">detectzero</a> (<a class="el" href="class_george_lib_1_1vec3.html">vec3</a> v)</td></tr>
<tr class="memdesc:adb2303ce319e24ac1c480cb3bc195383"><td class="mdescLeft">&#160;</td><td class="mdescRight">round up numbers to 5 digits after the decimal point  <a href="#adb2303ce319e24ac1c480cb3bc195383">More...</a><br/></td></tr>
<tr class="separator:adb2303ce319e24ac1c480cb3bc195383"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Holds 3 values and does vector maths. </p>
<p>Contains values for the a 3D vector, has functions for vector calculations, and various other operator overloads. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a14fc815ae5ef378554c3ebb9f091300a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GeorgeLib::vec3::vec3 </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>constructor : from one value, (a,a,a) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">a</td><td>a floating point value to fill the vector </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a350a9f644b47580ec6c243a70f7e816c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GeorgeLib::vec3::vec3 </td>
          <td>(</td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>constructor : from an array of float[3] </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">v</td><td>an float array of 3 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ac41e6550d0ae38b62c5b2f3f240a283d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GeorgeLib::vec3::asArray </td>
          <td>(</td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>arr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>values of this vector to an array </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">arr</td><td>an array to copy values to </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a84e9e343fc2552c448bc9e08a7fcc81b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float &amp; GeorgeLib::vec3::operator[] </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get values using [] operator </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::out_of_range</td><td>index out of range <a href="http://www.cplusplus.com/reference/stdexcept/out_of_range/">(std::out_of_range)</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">a</td><td>a integral value from 0 to 2 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the <code>x</code> value if <code>a</code> is 0, the <code>y</code> value if <code>a</code> is 1, and the <code>z</code> value if <code>a</code> is 2 </dd></dl>

</div>
</div>
<a class="anchor" id="a983cf063c94fb5c4107dd6cac82c2c98"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_george_lib_1_1vec3.html">vec3</a> GeorgeLib::vec3::rotateabout </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td>
          <td class="paramname"><em>axis</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>rotate this vector about an arbitrary axis </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle</td><td>the amount in degrees to rotate the vector </td></tr>
    <tr><td class="paramname">axis</td><td>the axis in which to rotate the vector around </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="adb2303ce319e24ac1c480cb3bc195383"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_george_lib_1_1vec3.html">vec3</a> detectzero </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_george_lib_1_1vec3.html">vec3</a>&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>round up numbers to 5 digits after the decimal point </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">v</td><td>the vector that is to be rounded off </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the rounded off vector </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/Users/morbidintel/Desktop/GeorgeLib/GeorgeLib/include/<a class="el" href="vec3_8h_source.html">vec3.h</a></li>
<li>C:/Users/morbidintel/Desktop/GeorgeLib/GeorgeLib/src/vec3.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 21 2015 13:43:18 for GeorgeLib by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
